<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header", "default"); ?>
<?php include template("content","header_public", "default"); ?>
<link href="<?php echo CSS_PATH;?>pic.css" rel="stylesheet" type="text/css" />
<script src="<?php echo JS_PATH;?>tab.js"></script>
<script language="javascript" src="<?php echo JS_PATH;?>changimages.js"></script>
<!-- 内容begin-->
<div id="shop">
	<div class="xnjz_l">
		<div class="xnjz_l_title p14 strong">精品样板间</div>
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=f1a5a5efe6c2249908b7b19acaacac14&action=lists&catid=35&num=15&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 15;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'35','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->lists(array('catid'=>'35','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
		<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
		<div class="xnjz_l01">
			<a href="<?php echo $r['url'];?>"><img src="<?php echo thumb($r[thumb],86,86);?>" /></a>
			<ul>
				<li>家装名称:<a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a></li>
				<li>装修风格:<a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=template_list"><?php echo $r['decoration_style'];?></a></li>
				<li>装修空间:<a href="./xnjz_c.html"><?php echo $r['decoration_space'];?></a></li>
				<li>装修类型:<a href="./xnjz_c.html"><?php echo $r['decoration_type'];?></a></li>
				<li>装修色调:<a href="./xnjz_c.html"><?php echo $r['decoration_tone'];?></a></li>
			</ul>
		</div>
		<?php $n++;}unset($n); ?>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
	</div>	
	<div class="xnjz_m01">
		<div class="xnjz_m01_t"></div>
		<div class="xnjz_m01_m"><div id=imgADPlayer></div>
		<script language="javascript" src="<?php echo APP_PATH;?>caches/poster_js/19.js"></script>
      <script> 		
		PImgPlayer.init( "imgADPlayer", 448, 264 );   
	</script></div>
		<div class="xnjz_m01_b"></div>
	</div>
	
	<div class="xnjz_r01">
		<div class="xnjz_r01_title">
			<ul class="ul1" id="ul1">
				<li class="hover" onmouseover="setTab(1,0)">风格</li>
				<li onmouseover="setTab(1,1)">空间</li>
				<li onmouseover="setTab(1,2)">户型</li>
				<li onmouseover="setTab(1,3)">类型</li>
				<li onmouseover="setTab(1,4)">色调</li>
			</ul>
		</div>
		<div class="xnjz_r01_m" id="main1">
			<ul class="block">
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=49ec93af25065ef48fb741fd22be1e8e&action=get_xn_cat&id=3434\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'get_xn_cat')) {$data = $content_tag->get_xn_cat(array('id'=>'3434','limit'=>'20',));}?>
			<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
				<li>*<a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=template_list&decoration_style=<?php echo $r['linkageid'];?>"><?php echo $r['name'];?></a></li>
			<?php $n++;}unset($n); ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
			</ul>
			<ul>
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=0172cd817eabda6f05ef70f5e573d660&action=get_xn_cat&id=3435\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'get_xn_cat')) {$data = $content_tag->get_xn_cat(array('id'=>'3435','limit'=>'20',));}?>
			<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
				<li>*<a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=template_list&decoration_space=<?php echo $r['linkageid'];?>"><?php echo $r['name'];?></a></li>
			<?php $n++;}unset($n); ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
			</ul>
			<ul>
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b87c40e23d0add2ac5922a8aaa0f9818&action=get_xn_cat&id=3436\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'get_xn_cat')) {$data = $content_tag->get_xn_cat(array('id'=>'3436','limit'=>'20',));}?>
			<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
				<li>*<a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=template_list&decoration_unit=<?php echo $r['linkageid'];?>"><?php echo $r['name'];?></a></li>
			<?php $n++;}unset($n); ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
			</ul>
			<ul>
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=845c9cc515d1f8c2032c96a8b7da73e1&action=get_xn_cat&id=3437\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'get_xn_cat')) {$data = $content_tag->get_xn_cat(array('id'=>'3437','limit'=>'20',));}?>
			<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
				<li>*<a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=template_list&decoration_type=<?php echo $r['linkageid'];?>"><?php echo $r['name'];?></a></li>
			<?php $n++;}unset($n); ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
			</ul>
			<ul>
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=2a215cc9d56acae9d9c3e5981adf548f&action=get_xn_cat&id=3438\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'get_xn_cat')) {$data = $content_tag->get_xn_cat(array('id'=>'3438','limit'=>'20',));}?>
			<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
				<li>*<a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=template_list&decoration_tone=<?php echo $r['linkageid'];?>"><?php echo $r['name'];?></a></li>
			<?php $n++;}unset($n); ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
			</ul>
		</div>
		<div class="xnjz_r02_b"></div>
	</div>
	<div class="xnjz_m02">
		<div class="xnjz_m02_title p14 strong">特点推荐</div>
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=cfb933a3a0bac920cb8aaa54ec0ae371&action=lists&catid=37&num=1&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 1;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'37','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->lists(array('catid'=>'37','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
		
		<?php $n=1; if(is_array($data)) foreach($data AS $key => $r) { ?>
	
		<a href="shangcheng-dazhexinxi_c.html"><img src="<?php echo thumb($r[thumb],118,88);?>" /></a>
		<dl>
			<dt><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a></dt>
			<dd><a href="<?php echo $r['url'];?>"><?php echo $r['description'];?></a></dd>
			
		</dl>
		<?php $n++;}unset($n); ?>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
		<ul>
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=14c67595a3f071daa03a9ba8748a3eb6&action=lists&catid=37&limits=1%2C6&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 20;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'37','limits'=>'1,6','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->lists(array('catid'=>'37','limits'=>'1,6','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
		
		<?php $n=1; if(is_array($data)) foreach($data AS $key => $r) { ?>
			<li><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a></li>
			<?php $n++;}unset($n); ?>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
		</ul>
		
		<ul>
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=6290f674e761e80df20dc959ba6c5043&action=lists&catid=37&limits=8%2C6&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 20;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'37','limits'=>'8,6','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->lists(array('catid'=>'37','limits'=>'8,6','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
		<?php $n=1; if(is_array($data)) foreach($data AS $key => $r) { ?>
			<li><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a></li>
			<?php $n++;}unset($n); ?>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
			
		</ul>
		
		
	</div>
	<div class="xnjz_r02">
		<div class="xnjz_r02_title"><tt></tt>最受欢迎的虚拟样板间</div>
		<div class="xnjz_r02_m">
			<ul>
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b5c92855ed39b6703b8090c7ad83d2fb&action=lists&catid=35&num=10&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 10;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'35','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->lists(array('catid'=>'35','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
			<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
				<li><em></em><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a></li>
			<?php $n++;}unset($n); ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
			</ul>
		</div>
		<div class="xnjz_r02_b"></div>
	</div>
</div>
<!-- 内容end-->
<!--友情链接begin-->
<div class="m06">
  <div class="m06_title">
    <h1><a href="javascript:;">友情链接</a></h1>
  </div>
  <ul>
<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"link\" data=\"op=link&tag_md5=99c32cd273c57223c20074bf5196e97a&action=type_list&siteid=%24siteid&order=listorder+DESC&num=10&return=dat\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$link_tag = pc_base::load_app_class("link_tag", "link");if (method_exists($link_tag, 'type_list')) {$dat = $link_tag->type_list(array('siteid'=>$siteid,'order'=>'listorder DESC','limit'=>'10',));}?>
		<?php $n=1;if(is_array($dat)) foreach($dat AS $v) { ?>
              <?php if($type==0) { ?>
            <li>  <a href="<?php echo $v['url'];?>" target="_blank"><?php echo $v['name'];?></a>  </li>
              <?php } else { ?>
             <li> <a href="<?php echo $v['url'];?>" target="_blank"><img src="<?php echo $v['logo'];?>" width="88" height="31" style="border: 1px solid #FFBE7A;"></a> </li>
              <?php } ?>
		<?php $n++;}unset($n); ?>
	<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
  </ul>
</div>
<!-- 友情链接end-->
<?php include template("content","footer"); ?>